Release 10.1A: OpenEdge Development:
Progress 4GL Reference
SIZE phrase
Specifies the width and height of a widget. You can express the dimensions in either character units or pixels.
Syntax
{ SIZE | SIZE-CHARS }Specifies that the unit of measure is characters.
SIZE-PIXELSSpecifies that the unit of measure is pixels.
widthSpecifies the width of the widget. If the units are characters,
widthmust be a decimal constant. If the units are pixels,widthmust be an integer constant.heightSpecifies the height of the widget. If the units are characters, the value
Exampleheightmust be a decimal constant. If the units are pixels,heightmust be an integer constant.The following example uses SIZE phrases to set the initial dimensions of the rectangle rec and to set the dimensions of the frame sz-frame. When you choose the b_size button, the rectangle is randomly resized.
Notes
See also
COMBO-BOX phrase, DEFINE BROWSE statement, DEFINE BUTTON statement, DEFINE IMAGE statement, DEFINE RECTANGLE statement, EDITOR phrase, Frame phrase, RADIO-SET phrase, SELECTION-LIST phrase, SLIDER phrase
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |